package com.zlf.service;

import com.zlf.po.Orders;

import java.util.List;
public interface OrdersService{
    public int createOrders(Orders orders) throws Exception;
    public Orders getOrdersById(Integer orderId);
    public List<Orders> listOrdersByUserId(String userId);
    public int payOrdersById(Integer orderId);
    public int cancelOrdersById(Integer orderId);
    public List<Orders> listOrdersByUserIdByState(String userId,int orderState);

}